package com.vcredit.creditcat.manager.creditassure;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vcredit.creditcat.api.ICreditAssureManager;
import com.vcredit.creditcat.model.CreditAssure;
import com.vcredit.creditcat.service.CreditAssureService;

@Service(protocol = { "protocol1" }, version = "1.0")
public class CreditAssureManager implements ICreditAssureManager{

	@Autowired
	private CreditAssureService creditAssureService;
	
	@Override
	public List<CreditAssure> find(CreditAssure creditAssure) {		
		return creditAssureService.find(creditAssure);
	}

	@Override
	public void updateAssure(CreditAssure creditAssure) {		
		creditAssureService.update(creditAssure);
	}

	@Override
	public List<CreditAssure> findCanAssure() {
		return creditAssureService.findCanAssure();
	}
	
	@Override
	public List<CreditAssure> findToSubmitAssure() {
		return creditAssureService.findToSubmitAssure();
	}

	@Override
	public List<CreditAssure> findToGetReport() {
		return creditAssureService.findToGetReport();
	}

	@Override
	public List<CreditAssure> findToComplianceQuery() {
		return creditAssureService.findToComplianceQuery();
	}

	@Override
	public List<CreditAssure> findToPreAudit() {
		return creditAssureService.findToPreAudit();
	}
}
